# main.py
"""
Pokémon Guessing Game

This is a simple guessing game where the player tries to guess the name of a Pokémon.

Author: [Cybercountry]
Version: 1.0
Date: [18/11/2023]
"""

import random

from pokedex import Pokedex, checkPrediction, displayInstructions, displayPokedex, main_menu, playGame

def main():
    instance_pokedex = Pokedex()

    while True:
        choice = main_menu()

        if choice == "1":
            playGame(instance_pokedex)
        elif choice == "2":
            displayInstructions()
        elif choice == "3":
            displayPokedex(instance_pokedex)
        elif choice == "4":
            print("Goodbye! Thanks for playing.")
            break
        else:
            print("Invalid choice. Please enter 1, 2, or 3.")

if __name__ == "__main__":
    main()
